package com.sl.mes.app.util;

import com.sl.mes.core.util.ResponseUtil;

/**
 * 微信接口枚举信息的响应
 */
public class MesResponseUtil extends ResponseUtil {

	/**
	 * 按枚举返回错误响应结果
	 * 
	 * @param responseCode
	 * @return
	 */
	public static Object fail(MesResponseCode responseCode) {
		return fail(responseCode.code(), responseCode.desc());
	}
}
